package edu.uci.ics.multicast.overlay;

public class PhysicalNode extends MulticastNode {

	private double x;
	private double y;

	public PhysicalNode(String index, double x, double y) {
		super.setIndex(index);
		this.x = x;
		this.y = y;
	}

	public void setX(double x) {
		this.x = x;
	}

	public double getX() {
		return x;
	}

	public void setY(double y) {
		this.y = y;
	}

	public double getY() {
		return y;
	}

	@Override
	public String toString() {
		return "PhysicalNode [index=" + super.getIndex() + ", x=" + x + ", y=" + y + "]";
	}

}
